<%@ page language="java"  contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"  %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<meta charset="utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- basic styles -->
<link href="${ctx}/resources/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="${ctx}/resources/css/font-awesome.min.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/device.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/ace.min.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/ace-rtl.min.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/sweetalert.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/jquery-ui-1.10.3.custom.min.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/pnotify.css"/>
<link rel="stylesheet" href="${ctx}/resources/css/pnotify.brighttheme.css"/>


<script src="${ctx}/resources/js/jquery-1.10.2.min.js"></script>
<script src="${ctx}/resources/js/bootstrap.min.js"></script>
<script src="${ctx}/resources/js/jquery.slimscroll.min.js"></script>
<script src="${ctx}/resources/js/typeahead-bs2.min.js"></script>
<script src="${ctx}/resources/js/ace.min.js"></script>
<script src="${ctx}/resources/js/ace-elements.min.js"></script>
<script src="${ctx}/resources/js/dropzone.min.js"></script>
<script src="${ctx}/resources/js/sweetalert-dev.js"></script>
<script src="${ctx}/resources/js/sweetalert.min.js"></script>
<script src="${ctx}/resources/js/Base64.js"></script>
<script src="${ctx}/resources/js/pager.js"></script>
<script src="${ctx}/resources/js/respond.min.js"></script>

<script src="${ctx}/resources/js/ace-extra.min.js"></script>
<script src="${ctx}/resources/js/html5shiv.js"></script>

<script src="${ctx}/resources/js/jquery.validate.js"></script>
<script src="${ctx}/resources/js/jquery.validate-util.js"></script>

<%--自定义方法--%>
<script src="${ctx}/resources/js/refreshSidebar.js"></script>
<script src="${ctx}/resources/js/socket.js"></script>
<script src="${ctx}/resources/js/edit.js"></script>
<script src="${ctx}/resources/js/dialog.js"></script>
<script src="${ctx}/resources/js/common.js"></script>
<%--<script src="${ctx}/resources/js/jquery.js"></script>--%>
<script src="${ctx}/resources/js/jquery.ztree.core-3.5.js"></script>
<script src="${ctx}/resources/js/jquery.ztree.excheck-3.5.js"></script>
<script src="${ctx}/resources/js/jquery.ztree.exhide-3.5.min.js"></script>

<!-- PNotify -->
<script type="text/javascript" src="${ctx}/resources/js/pnotify.js"></script>
<link href="${ctx}/resources/css/pnotify.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/resources/css/pnotify.brighttheme.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="${ctx}/resources/js/pnotify.animate.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/pnotify.buttons.js"></script>
<link href="${ctx}/resources/css/pnotify.buttons.css" rel="stylesheet" type="text/css"/>


<%--datepicker--%>
<script type="text/javascript" src="${ctx}/resources/js/bootstrap-datepicker.js"></script>
<link href="${ctx}/resources/css/datepicker.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/resources/css/ace-skins.min.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/resources/css/zTreeStyle.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/resources/css/dropzone.css" rel="stylesheet" type="text/css"/>


<script type="text/javascript">
  ctx = "${ctx}";

  showSuccessDialog = null;
  showWarnDialog = null;

  <%--$(function($){--%>
    <%--<c:if test="${param.op_code eq 'success'}">--%>
    <%--dialog("${param.op_code}", "<%=com.greenet.daliyreport.common.utils.Encodes.decodeBase64String(request.getParameter("op_msg"))%>");--%>
    <%--</c:if>--%>
  <%--});--%>

  function Loading() {
    var cont = '';
    cont += "<div class='loading' id='loading' style='width: 100%; height: 100%; position: absolute;z-index:99999; opacity: 0.5; top: 0px; left: 0px; margin: 0px; padding: 0px; background-color: rgb(255, 255, 255);'>";
    cont += " <img style='margin-left:50%; margin-top:25%;' src='${ctx}/resources/images/loading.gif'>";
    cont += "</div>";
    $("body").append(cont);
  }




</script>
